Platform Explorer / Nuxeo Platform 2021.7

Contribution org.nuxeo.ecm.platform.rendition.publisher--treeInstance

This contribution is part of XML component org.nuxeo.ecm.platform.rendition.publisher inside nuxeo-platform-rendition-publisher-2021.7.15.jar /OSGI-INF/rendition-publisher-contrib.xml

Documentation

Override the default PublicationTree used in Nuxeo to use the one handling Rendition documents.

Extension Point

Extension point treeInstance of component PublisherServiceImpl.

Registration Order

2
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <publicationTreeConfig factory="RenditionPublication" name="DefaultSectionsTree" title="label.publication.tree.local.sections" tree="RenditionPublicationCoreTree">
          <parameters>
            <!-- <parameter name="RootPath">/default-domain/sections</parameter> -->
            <parameter name="RelativeRootPath">/sections</parameter>
            <parameter name="enableSnapshot">true</parameter>
            <parameter name="iconExpanded">/icons/folder_open.gif</parameter>
            <parameter name="iconCollapsed">/icons/folder.gif</parameter>
          </parameters>
        </publicationTreeConfig>

XML Source

<extension point="treeInstance" target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl">

    <documentation>
      Override the default PublicationTree used in Nuxeo to use the one handling
      Rendition documents.
    </documentation>
    <publicationTreeConfig factory="RenditionPublication" name="DefaultSectionsTree" title="label.publication.tree.local.sections" tree="RenditionPublicationCoreTree">
      <parameters>
        <!-- <parameter name="RootPath">/default-domain/sections</parameter> -->
        <parameter name="RelativeRootPath">/sections</parameter>
        <parameter name="enableSnapshot">true</parameter>
        <parameter name="iconExpanded">/icons/folder_open.gif</parameter>
        <parameter name="iconCollapsed">/icons/folder.gif</parameter>
      </parameters>
    </publicationTreeConfig>

  </extension>